if (!String.prototype.contains ){
    String.prototype.contains = function (s) {
        return this.indexOf(s) !== -1;
    };
}
